package com.shujia.entity;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "emp")
public class Emp {

    private String ename;
    private String sal;
    private String ino;

    public void setIno(String ino) {
        this.ino = ino;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public void setSal(String sal) {
        this.sal = sal;
    }

    public String getIno() {
        return ino;
    }

    public String getEname() {
        return ename;
    }

    public String getSal() {
        return sal;
    }
}
